package util;


public class Record {
	private String recordNbr;
	private String division;
	private String nurse;
	private String doctor;
	private String patientPnbr;
	private String data;
	
	public Record(String recordNbr, String patientPnbr, String doctor, String nurse, String division, String data){
		this.setDivision(division);
		this.setNurse(nurse);
		this.setDoctor(doctor);
		this.patientPnbr= patientPnbr;
		this.setData(data);
		this.setRecordNbr(recordNbr);
	}
	
	public String toString(){
		return "recNbr: " + recordNbr + "division: " + division + "nurse: " 
		+ nurse + "doctor: " + doctor + "patientPnbr: " + patientPnbr;
	}
	
	public String recordTransfer(){
		return "recNbr: " + recordNbr + "\ndivision: " + division + "\nnurse: " 
		+ nurse + "\ndoctor: " + doctor + "\npatientPnbr: " + patientPnbr + "\nRecordEntries: "+ data;
	}
	
	public void append(String s){
		data = data + "\n" + s;
	}
	
	public void print(){
		System.out.println(data);
	}
	
	public String getPatientPnbr(){
		return patientPnbr;
	}

	public void setDivision(String division) {
		this.division = division;
	}

	public String getDivision() {
		return division;
	}

	public void setNurse(String nurse) {
		this.nurse = nurse;
	}

	public String getNurse() {
		return nurse;
	}

	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}

	public String getDoctor() {
		return doctor;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getData() {
		return data;
	}

	public void setRecordNbr(String recordNbr) {
		this.recordNbr = recordNbr;
	}

	public String getRecordNbr() {
		return recordNbr;
	}
	
	
	
}
